package com.gx.dto.command;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Desc
 * @Author ZhaoYang Wang
 * @Create 2024/4/7 16:58
 * @Version 0.0.1
 */
@Data
public class LoginCmd {
    @ApiModelProperty(value = "账号", required = true, example = "admin")
    @NotBlank(message = "账号不可为空")
    private String account;

    @ApiModelProperty(value = "密码", required = true, example = "123456")
    @NotBlank(message = "密码不可为空")
    private String password;
}
